<!--  //create by jiajun at 2009-05-27  -->
<p>{literal} <style type="text/css">
body,td { font-size:12px; }
.stab{
border-left:solid 0px;
border-top:solid 0px;
border-right:solid 1px #cce1e4;
border-bottom:solid 1px #cce1e4;
}
.stab td{
border-top:solid 1px #cce1e4;
border-left:solid 1px #cce1e4;
border-right:solid 0px;
border-bottom:solid 0px;
}
.stab th{ background-color:#61a9d2; color:#FFF; font-size:13px;}
</style>{/literal}</p>
<!-- start goods_inventory list -->
<div class="list-div" id="listDiv">
<table width="780px" cellpadding="0" cellspacing="0" class="stab">
  <tr>
    <th scope="col" bgcolor="#cccccc"><div align="center"><strong>商品名称</strong></div></td>
    <th height="35" bgcolor="#cccccc" scope="col"><div align="center"><strong>商品颜色</strong></div></td>
    <th scope="col" bgcolor="#cccccc"><div align="center"><strong>商品尺码</strong></div></td>
    <th scope="col" bgcolor="#cccccc"><div align="center"><strong>可用库存</strong></div></td>
    <th scope="col" bgcolor="#cccccc"><div align="center"><strong>实际库存</strong></div></td>
    <th scope="col" bgcolor="#cccccc"><div align="center"><strong>预警库存</strong></div></td>   
  </tr>
  {foreach from=$goods_inventory_list item=goods_inventory key=i_key}
  	{foreach from=$goods_inventory.inventory_list item=inventory key=ikey}
  		<tr>
			{if $ikey == 0}<td height="25" rowspan="{$goods_inventory.size}" align="center">{$inventory.goods_name}</td>{/if}        		    <td align="center">{$inventory.color_name}</td>
			<td height="25" align="center">{$inventory.size_name}</td>
		    <td align="center"><span {if $inventory.goods_number_available < $inventory.goods_number_alert} style="color:#F00"{/if}>{$inventory.goods_number_available}</span></td>
		    <td align="center">{$inventory.goods_number_actual}</td>
		    <td align="center">{$inventory.goods_number_alert}</td>
  		</tr>
    {/foreach}
  	{foreachelse}   
  	<tr><td class="no-records" colspan="10">没有找到任何记录</td></tr>
  {/foreach}
  </table>
<!-- end goods_inventory list -->
</div>